cmake_minimum_required(VERSION 3.22)
project(hnurm_detect)

set(CMAKE_CXX_STANDARD 17)

find_package(ament_cmake_auto REQUIRED)
ament_auto_find_build_dependencies()

ament_auto_add_library(hnurm_detect src/detect_node.cpp src/detector.cpp src/number_classifier.cpp)

ament_auto_add_executable(hnurm_detect_node src/main.cpp)
target_link_libraries(hnurm_detect_node hnurm_detect)

ament_auto_package(
        INSTALL_TO_SHARE
        launch
        params
        model
)
